package com.example.itmanager.api;

import com.example.itmanager.entity.LoginResponse;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * @author 23737
 * @version 1.0
 * @time 2021.8.9
 * Retrofit接口
 */
public interface Api_Retrofit {
    //登录接口
    @FormUrlEncoded
    @POST(ApiConfig.LOGIN)
    Call<LoginResponse> doLogin(@FieldMap Map<String,Object> map);


}
